//
//  MyDataTableViewController.m
//  明和智能
//
//  Created by 李李善 on 2018/8/23.
//  Copyright © 2018年 inno. All rights reserved.
//

#import "MyDataTableViewController.h"
#import "SetTableViewCell.h"
@interface MyDataTableViewController ()

@end

@implementation MyDataTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    NSArray *arr = @[@{@"title":@"我的头像",@"detail":@""},
                     @{@"title":@"手机号",@"detail":@"134***3445"},
                     @{@"title":@"版本更新",@"detail":@"粤A123213"},
                     ];
    
    [self.dataArr addObjectsFromArray:arr];
    [self.tableView reloadData];
    
}

-(void)onLoadViewByWillAppear:(UIView *)view
{
    view.backgroundColor = hexCOLOR(@"ECECEC");
}

-(MCCellInfo *)tableView:(UITableView *)tableView cellForIndexPath:(NSIndexPath *)indexPath IsHeight:(BOOL)isheight
{
    if (indexPath.row==0) {
       return [MCCellInfo configForCellId:cell Class:[SetTableViewCell1 class] Height:kFitH(75) TableView:tableView];
    }
       return [MCCellInfo configForCellId:cell1 Class:[SetTableViewCell class] Height:kFitH(50) TableView:tableView CellStyle:(UITableViewCellStyleValue1)];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
